package sample.ws.service;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * DataService..
 *
 * @author Lizhong
 * @date 2019/7/13
 */
// http://www.ssii.com.cn/
@WebService(targetNamespace = "http://www.ssii.com.cn/", name = "DataService")
public interface DataService {

    @WebResult(name = "return", targetNamespace = "")
    @RequestWrapper(localName = "getMetaData",
            targetNamespace = "http://www.ssii.com.cn/",
            className = "sample.ws.service.SayHello")

    @WebMethod(action = "urn:getMetaData")
    @ResponseWrapper(localName = "metaDataResponse",
            targetNamespace = "http://www.ssii.com.cn/",
            className = "sample.ws.service.SayHelloResponse")
    String getMetaData(
            @WebParam(name = "name", targetNamespace = "") String name,
            @WebParam(name = "token", targetNamespace = "") String token,
            @WebParam(name = "page") Long page,
            @WebParam(name = "size") Long size);
}
